from queue import Queue


class Basic_var:
    mduserapi = None
    mduserspi = None
    keep_connect_seconds = 60*60*7 

    Trading_day = True
    time_flag = False
    receive_data_Que = Queue()

    excg_instrID_list = []
    unsub_list_01 = ['cu', 'pb', 'al', 'zn', 'sn', 'ni', 'ss']
    unsub_list_23 = ['fu', 'ru', 'bu', 'sp', 'rb', 'hc']


md_FrontAddr = "tcp://140.206.101.220:41215"  # 真实行情服务器

BROKERID = "****"
USERID = "*********"
PASSWORD = "******"

UserProductInfo = "python dll"
main_start_Que = Queue()


exchange_url = r'https://www.shfe.com.cn/data/instrument/ContractDailyTradeArgument'
path_today = r'F:/Daily_Data/'
path_instr = r'F:/Contracts/'  # 合成后的单个合约文件存放路径，具体为path_out\exchange\future\instrument\
